//
//  NetWorkManager.h
//  liwushuo
//
//  Created by qf1 on 16/4/15.
//  Copyright (c) 2016年 ZJH. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DetailItem.h"

typedef void(^networkResponst)(id);


@interface NetWorkManager : NSObject



@property (retain , nonatomic)NetWorkManager * netWorkManager;


#pragma mark 用回调方法返回数据
- (void)getNavigationNameAndBlock:(networkResponst)block;

- (void)getContentDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getAdvContentDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getAdvDataAndBlock:(networkResponst)block;

- (void)getTopicDataAndBlock:(networkResponst)block;

- (void)getJXContentDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getHotDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getSelectContentDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getDetailDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getCategoryTopicDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getCategoryDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getCategorySecondDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getSelectDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getSearchHotNameWithblock:(networkResponst)block;

- (void)getSearchPresentDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getSearchTacticDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getCommentDataWithUrl:(NSString *)url andBlock:(networkResponst)block;

- (void)getPersonMessageWithCookie:(NSString *)cookie andBlock:(networkResponst)block;

- (void)getPersonPresentWithCookie:(NSString *)cookie andBlock:(networkResponst)block;

- (void)getPersonTacticWithCookie:(NSString *)cookie andBlock:(networkResponst)block;

- (void)sendCommentWithId:(NSString *)Id AndCookie:(NSString *)cookie andComment:(NSString *)comment AndBlock:(networkResponst)block;

- (void)changeNickNameWithName:(NSString *)name andCookie:(NSString *)cookie AndBlock:(networkResponst)block;

@end
